package Chapter05;

public class Zuoye6 {
    public static void main(String[] args) {
        int x,z,y;
        for (x=1;x<=94;x++){
            for (y=1;y<=93;y++){
                for (z=1;z<=93;z++){
                    if (x*y+z==94 && x+y*z==95){
                        System.out.println(x+" "+y+" "+z);
                    }
                }
            }
        }
    }
}
